using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class InputManager : Singleton<InputManager>
{
    public Vector3 movement;

    public bool doSprintDown;
    public bool doAttackDown;
    public bool doSprintUp;
    public bool doResetDown;

    private void LateUpdate()
    {
        movement.x = Input.GetAxis("Horizontal");
        movement.z = Input.GetAxis("Vertical");

        doSprintDown = Input.GetKeyDown(KeyCode.LeftShift);
        doAttackDown = Input.GetMouseButtonDown(0);
        doSprintUp = Input.GetKeyUp(KeyCode.LeftShift);
        doResetDown = Input.GetKeyDown(KeyCode.R);
    }
}